package com.usefullc.common.enums;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 任务执行速度*
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum TaskSpeedEnum {

    SLOW("s", "慢速）"),
    MIDDLE("m", "中等"),
    FAST("f", "快速"),
    ;
    private String code;
    private String value;

    TaskSpeedEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
